crypto/tls.halfConn.setErrorLocked (method)
39 uses
crypto/tls (current package)
conn.go#L196: func (hc *halfConn) setErrorLocked(err error) error {
conn.go#L617: return c.in.setErrorLocked(errors.New("tls: internal error: attempted to read record with pending application data"))
conn.go#L622: return c.in.setErrorLocked(errors.New("tls: internal error: attempted to read record with QUIC transport"))
conn.go#L634: c.in.setErrorLocked(err)
conn.go#L647: return c.in.setErrorLocked(c.newRecordHeaderError(nil, "unsupported SSLv2 handshake received"))
conn.go#L661: return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
conn.go#L669: return c.in.setErrorLocked(c.newRecordHeaderError(c.conn, "first record does not look like a TLS handshake"))
conn.go#L675: return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
conn.go#L679: c.in.setErrorLocked(err)
conn.go#L688: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L691: return c.in.setErrorLocked(c.sendAlert(alertRecordOverflow))
conn.go#L696: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L706: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L711: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L715: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L718: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L721: return c.in.setErrorLocked(io.EOF)
conn.go#L733: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L740: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L742: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L747: return c.in.setErrorLocked(c.sendAlert(alertDecodeError))
conn.go#L751: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L762: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L765: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L770: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L784: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L798: return c.in.setErrorLocked(errors.New("tls: too many ignored records"))
conn.go#L844: return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
conn.go#L861: return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
conn.go#L1114: return nil, c.in.setErrorLocked(fmt.Errorf("tls: handshake message of length %d bytes exceeds maximum of %d bytes", n, maxHandshakeSize))
conn.go#L1173: return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L1182: return nil, c.in.setErrorLocked(c.sendAlert(alertDecodeError))
conn.go#L1248: return n, c.out.setErrorLocked(err)
conn.go#L1255: return n + m, c.out.setErrorLocked(err)
conn.go#L1317: return c.in.setErrorLocked(errors.New("tls: too many non-advancing records"))
conn.go#L1337: return c.in.setErrorLocked(errors.New("tls: received unexpected key update message"))
conn.go#L1342: return c.in.setErrorLocked(c.sendAlert(alertInternalError))
conn.go#L1357: c.out.setErrorLocked(err)
quic.go#L280: return quicError(c.in.setErrorLocked(errors.New("tls: handshake data received at wrong level")))
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |